package com.zhou.bpm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhou.bpm.entity.BpmNode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/25 10:33
 */
@Mapper
public interface BpmNodeMapper extends BaseMapper<BpmNode> {

    /**
     * 获取后面的节点
     * @param processCode
     * @param currentNodeCode
     * @return
     */
    List<BpmNode> getBehindNode(@Param("processCode") String processCode,@Param("currentNodeCode") String currentNodeCode);
}
